added debug log for social