resize fix