fixed if to elif