more graceful url handling