fix resize bug
fix level trouble