fix broken print statements