Fix solving elif error.