fixed panice debug