should hopefully stop it crashing