store name error checking