enhance leave module