correcting migration of ClassVariableVisibilityCheck