remove rogue apply calls