temporary fix to rangjorth bug