fixed bug with adding blank entry