remove hash vector code