correct syntax issue with extend-protocol