remove before date task
refactor code