fix dimention bug