Fixed mememory fault on debugging message