fix 'new' error :-P
fix array/arrayObject generation