Fix error in chat commands