removed debug condition