fixing h resize