fix back() routine for array