solve selecting master comments problem