fixed missing id on deviceready