fix dimensions