Fix pathname classname