fix variable name in social view