fixed small resizing issue