fix for navigation not being relative to root