Fixing embed database