refine gui, add addr type, add checks