bug fixes on set_planning_env()
Merge pull request #22 from tttor/v.2.12

bug fixes on set_planning_env()