cancan crash fix