Improve case when input does not match anything in visiable range(#30)