minor refactor on InsertAssignment