Remove inserting middleware