Minor fix to error/success messages