fix variable mismatch in build_timestring()