adding insert fix