add 'finish' to statement finalizer