fix require paths, spaces and quotes