fix bad syntax when FLAG_RENDER_DEBUG + helpers

This fix improves #68 .