fix problems in init process
fix init porcess