fixed attribute name for authorize template