put a try block to get around stupid distance check crashes