fixing root path duplicate