fix elif error