why? it should be initialized as a narray for the foreach() when $data[$alias] is appended