removed a dangly else