Fixed paren errors, bug in leave