remove link fution and log