making error printing a little nicer