resolving problems concerning path being relative by making them absolute pathes