Changing the path resolving order