fix for 0.11 and different cwd