changed missed print to log