fix template with stub temporarily