fix forking problem bug by adding to IV before chacha