Fix issue with effect api