remove useless code for android