fix bug in share view