fix resizing bug