small improvements on epub output