adjusted resize mode