Resolve path errors