Avoid crash