Bugfixed template.php at preprocess