Fix build error from attribute typo