fixed issue of work flow