fixed run sync and finally for taks