allow paths to be null
v3.0.1