variety bug fixes