improve memory out of range check
fix vpool and object dump bug