reset pwd after opening rc