Fixed issue with toastr