removing pointer values and pointer ids
cleanup of old val alloc code