Fixed problems with new ar_push and ar_pop