fix for paths like/begin with './'