Draft: fixed bug in dimensions direction