Change leave directive