fix neglected condition