change the route for error in pcs.c