try to protect against led IOErrors