add Root path variable & fix static middleware when app started from not root path