add quick fix for max type
M
Merge remote-tracking branch 'josef/master'