compounded erroneous else statement with existing elsif