fixed little resizing bug