paths compatibility fixes