Fixed parse exception
Added localized medium type