resize fixing