fixing race condition around pie charts on build, hopefully