got the error message toastr working