fix paths with spaces