Fixed the null dimension in all location constructors