validate deadline
deadline validation