minor bug fix

changed elif to else