fix call to deprecated model
Merge remote-tracking branch 'luc/master'