expand resize fix