fixed shellView error handling