fixed error when in non-verbose mode, thanks Aaron