fixing some issues with changing tuningreference key