fix root url by adding slash in the end
fix path errors #2