remove popup on error