Fixing production mode tag writing