fixed bad output in proc.