fix building of candy