fix issue when there is no tag at all

make sure we don't try to load the parameters of the first item if it does not exist.