needs to move above utils/log.h