diff --git a/bob/io/base/include/bob.io.base/blitz_array.h b/bob/io/base/include/bob.io.base/blitz_array.h
index c592b7f3844aadbbc755a30a16de9e0ef4d5b05f..083ec1d3245d2b3bc1f92e821b71eaeffe1de0b3 100644
--- a/bob/io/base/include/bob.io.base/blitz_array.h
+++ b/bob/io/base/include/bob.io.base/blitz_array.h
@@ -244,7 +244,7 @@ namespace bob { namespace io { namespace base { namespace array {
        * data at. Only get the number of dimensions right!
        */
       template <typename T, int N> blitz::Array<T,N> cast() const {
-        return bob::core::array::cast<T,N>(*this);
+        return bob::io::base::array::cast<T,N>(*this);
       }
 
     private: //representation