fix notice in another template preprocess