elif bugfix