bug-fix: fixing blank entry logic