remove call to pwd