eliminated an error of Main of import state