fix view store creation bug`