check in deviceready