Fixed dangling else after version statement