fixed broken mark_private_methods