fixed alert to callback deviceready