parameter bug fixed, write with delay to table