fix elsif without condition