Fix incredibly rare crash