Fix for 461

I think that should fix it but I'm not sure because I can't test it