resize optimize
fix