cleaning up expectation output