Fix authorize attribute