cleanup in guilink