added double-check for reset