cube correction