fixed a few bugs with encounters nested routes