fix absence of else{}