fix for user profile routing bug from #159