fixing model setting method
Merge branch 'master' of https://github.com/liouh/planner