solve reset problem