fix for attribute type as array