minor code style fix
fix losing file description after error