corrected on leave bug