remove print function definitions (undefined fns)