Bugfix for realtive paths