[delete]Guitar recording is always slightly ahead of click

Noticed that bar lines on recording are off - why is that? Also it;s not like all of them are off by the same amount - it differs bar to bar!