fix LOG_PATH and put data in HOME