fixed backend clear issues