fixing bug that values from form would not be retrieved correctly
fixing small ui bugs
fixing small ui bugs