The switch is wired incorrect if either wire is still hot. You most likely have the light switch on the neutral wire if one of the wires is still hot at the light fixture.
Let's Get It Fixed!
Our virtual experts can diagnose your issue (for free!) and resolve simple problems.