[EPG init] remove some redundant code.