fixed issue #734: foxx cookie and route problem