fixing open share box on no shares bug