fix bug in plan model