Fixed wrong type tuning