mvc fixes for razor project