Fixed two bugs in the ECC functions