fix persistent json removal