Fixes bug in absoulte paths