cleaning up the path