Minor error printing bugfix