inserteffects: cleaned up compilation