fixes quotes and file names bugs