prevent caching from displayed, update ui, display error
clean code