I did mess up those vars, yes. Maybe you changed it incorrectly? Try with my (now) edited code. I see no reason why you'd get '1 out of place'.