Fixing return value of dim