Fix small bugs in the opensocial integration