remove old keys from db before starting