fix for "cannot infer base path".