clean up effects api