fix box dimensions