fix schedult resize