quick hack to make it work with the router on the server