Statement has args check for template fixed