quick ugly fix for sorting issue