Fixed path.resolve