Got leave button to work