fix cakewx bug