fixed argument length inconsistancy in worklist implementation