fix "no sort params" problems