restored factory key and location