Fixed the effect call