fix callback issue for android