fixed problems when combining effects