order isn't working correctly