add reference counter for scanenr process