fixes before run