fixed cache content when insertion was not succesful