Remove print_r statement in library