fix AutoIncrement in TypeQCM