clean share code