Make sure the string restraint between the nut and the
tuning pegs is screwed in far enough. There should be a change in angle in the string as it passes under the restraint. If there isn't, the string is suspended directly between the peg and the locknut, and tightening the bolt will push the string down a little, sharpening it.