modify finish condition