fix array identity bug