changed attribute types in tags from long to string so now view/edit works