fixed implementation of `workflow:datasize`