fix process cwds