correct if/elif condition