added elif to avoid error
Merge pull request #182 from burke-software/temporary_develop

added elif to avoid error