remove argument from resize handler