properly close reference tag in proj file