Remove logging, escape spaces