add pty
change domain