[ffwizard] rewrite elif statments