some tuning error correction