brakes not working right

Oh, it absolutely did. Rust is heavy, it falls down to the wheel cylinders. It sounds like you didn't bleed each wheel cylinder? Brake fluid should be freshened every two-three years.
I bled them several times. Ran a whole quart bottle of fluid through it in an attempt to be sure it was clean.