added fix for '/' before the path