Fixed prompt distance crash