push to length3 array fix