Prevent dangling else