fix bug in saga