fix elif statement