fix: array to hash