runtime error fixed, crab_cfg is added