fix code style / io