fixed if/elif error