little fix for unauthorized navigation