move many code to gasynctags