bugfix for get array and object