fix debug print arr