fixed the index of planet after earth once added back to array