Fixing off by one error in textbox? weird