fix to sharebar to clear it