Fixed errors at parsing static items, subitems are now detected correctly
separated ItemLink class