removed slight bug in client validation when tabbing (not perfect)