Fatal bug fixed. init pos_ = 0