correct the compile bug in myactivity