fixed bug with vis output file specification