remove path.resolve