Have you tried stepping through each line to see where there is a miss?