Corrected insert errors