Validate icons
Fix icon parsing bug