added fix for arm platforms
added some comments, field names are now checked in list comprehension