removed old prepared refs