resize bug fixed.