add a constant pool record at head.
fix some more problems.
more