Better handling of the unknown and fix a bug for root steps