2002 SI Battery light always on with new alternator

We replaced the failed alternator of my CIVIC SI with an aftermarket alternator. The new alternator worked fine except that the battery light did not not go off. We tried another alternator (aftermarket,same brand and model) and again we got about 14 volts, but the battery light stays on. What could be the cause of the problem?Thanks