Minor bug fix on Textboxes