clean the listForks method