removing my and boost smart ptrs