fixing warning in open('/')