Fixed compile error in else.