Fixed bug in Slim router.