[12725] Fixed possible crash