change url paths to absolute paths