fix issue with deep linking