fix EntryPoint.