fix resize option missing bug