Added posts data clean function to cleanup.