measure the distance from the center of your seat tube to the middle of your chainring. if it's not 42mm, then you know that it's a chainline issue, and that maybe your cranks aren't seated properly on the bb.
also, maybe your cog, chainring, and chain are of different ages. when i put a new chainring on my bike, the chain wouldn't sit right between the teeth. a new chain solved that problem.