remove unneeded cache write