removed unnecessary dependencies in applyleave