emergency brake problem on 2002 Mazda Protege5

i just replaced the rear brake e brake does not work any more.I inspected the cables and they are working properly.
Any ideas?

Asked by for the 2002 Mazda Protege5
I actually had the same problem with my e-brake after changing out the brakes. All I did was go to an open parking lot and threw the car in reverse then put on the brakes and it adjusted back and started working.
2 more answers
Is the e-brake handle pulling all the way up, like it isn't connected anymore? If so, then the e-brake needs to be adjusted.
On most Mazdas with rear calipers, there is an allen bolt under a cap to release the caliper piston, did you release this? How did you get the caliper pistons to go back into their bores?