fixing absolute directory