elimate wrong include
file log switch bug fixed