fixed remaining main occurances for pre14 target