need to fix due to bgfg bug