Fixed some dimension stuff

The demension has succeded!