fix cancan resource load error