removed unneeded resize commands