fixed a bug where mountain car factory did not take into account new parameter