fixing deviceready