Fix cube ready position code