Cleanup of the profiles