fix output with some method chaining