remove DATA_LOOP flag and format the code style