bugfix for small traces