Small fix for leave