resize bug调整