bug when sending if modified