! replace truncate with substr in two areas

Signed-off-by: Spuds <spuds@spudsdesign.com>