Cr fix intack

Corrected a misplaced else. Now it should fix #116