remove *occurs-check* dynamic var, use metadata approach instead