Ticking noise coming from crankshaft pulley on 2003 kia optima. on 2003 Kia Spectra

I changed the crankshaft position sensor and now there's a ticking noise coming from the pulley. Does that puck in the middle sit flush

Asked by for the 2003 Kia Spectra
if its an aftermarket sensor some come with shims to use as a spacer. ck alignment of sensor and make sure its not hitting dampner