remove path & deprecated resource