before clean
resize bug