make sure comment has attribute author