fixed getting values from edit text boxes