(Please excuse me for this comment, I've seen a few questions today where it's really difficult to figure out the question) Can you please put the problem also as comments in your code? at exactly the line that's causing the problem. When you describe the problem in text, and not using the exact variable name as in the code, the reader gets confused. Thanks.