Fix mod debug helper