maybe this will fix sorting?