fix bug of MyProgram appear 'undefine'