small deviceready change