Fix path mapping.