cleanup F18 main