replace call to return_indicator=True with 'dense'