change path variable & corrections