Fixed memory overwrite
Release build use ERROR macro debug Panic