fix message.target bug