use getUrlManager() instead of urlManager for better error output