add detect if source is self