dimensions now working properly