change user id type; gelbooru have duplicate tags in one image; refactor dag code