How can I stop this from happening?