removed errors from templates