Only show error message if there is an error #24