Fix two errors on the opensocial view