fix not eclipse run

work outside eclipse