attempt at fix reported crash
lets see if this helps