add fixed 004,but still have problem.
changed algorithm