Please also move dequeue to be after the apply button.