bug in browser sort fix