fix bug when executing program without model section