fix duplicate chat posts bug