fixed leave days subtraction