fix minor nosort bug