Bug fix: every =~ '' yield 1, so changed to  == ''