remove warning visible_private_types