remove print_r from 2 locations