parse icon only if yaml has icon