Minor refactoring
* Better error handling
* Typo correction
* No more messages when cache is cleared successfully