Fix relative paths if we use different path in annotation