leaves application fix