handling errors in dash