modify some error of writting