Is there anything that would fix any errors like this from occuring in the future?