add check for self host