Clean up prepare data