howto trigger completion when done automatically