Fix bug in share pic.