magic array build and push fixed