fixed booleans and objects on device register