get rid of Path type