fix gwcm to properly work as an array value