* fix span writting error.