fixed NPE with self sending