fix bug for helper.db.autoIncreaseId()