more unistd uselessness
remove more of encoding