model bug fix for the ordered method