popvec
fixed indexing bug in popvec
generialize common clu
...