fix params in episode controller