catching exceptions, more output
fixing chunk range