bugfixed tuning