cleaning extra headers, adding relative path