Small bugfix for details.ts