Do a full erase on your 16F876, then program it with the MCS loader firmware.
You shouldn't have any problem.