Fixed bug with missing error message when using acc