bugfix for bounds with log