remove error variable from template and updated evaluated expression