razor fixes