prevent index out of range
path/filepath -> path
Removing namespace collision