CBS’ How I Met Your Mother spin-off is making a last-minute cast change.

Krysta Rodriguez (Smash) is exiting How I Met Your Dad just days before the pilot was set to begin production, EW confirmed.

Rodriguez was cast as the sexy, flamboyant fashion blogger best friend of Greta Gerwig’s lead Mother character. After a table read, producers decided Rodriguez wasn’t working out and have decided to rejigger the role. Such shakeups are common both before, during and after the pilot creation process — nobody is ever really assured of having any given role until after the full series goes into production in the summer.

Deadline first reported the news. HIMYD follows Sally (Gerwig) a “female Peter Pan who has never grown up and has no idea of where she’s going in life. She has just figured out that she has nothing in common with her husband (Anders Holm) of less than a year and will find a solid circle of support in her friends and family.”