fix for paths like/starting with './'