fix for paths with spaces