will fix a possible crash (later, when this code will be reactivated)