fixed leave command (I think)