Fix share bug.