Cleanup of latex