Mend layout of the programs stage1