fixing respec errors