fixed smlal bugs on downloading gml and back button