Make sure that you use 4017 chips, not 1017.
Please show your sketch, and describe what it should do and really does.