small fix in one condition