fixes for online controller toc/current function

this is also needed for the offline issue generator