fix the bug in get_step_create_template
merge