correcting relative paths