fixed charModel/DB conflict