Fix bug in converter and add qarrq to template.