hopefuly fix crash as seen e.g. in crash report 35043