fix another minor error in api template