solve the entry_point problem