Avoid unknown attrs error on building share/comment/like