solve issue with trainee correct routing