change items, change db dialect contructor
after this, error encoding dispeared