gift model bugfix