resize fix for normal use