remove preceding space from caption output