add if transformation
set default continuation
bug fix