fix order of expected vs actual