exit instead of die when looking up references