fix bug of receiver not working