fixing credit bleed bug