fixed replies in messages plugin