textfield different length, js sum overflow bug fixed