device messed up phone gap