lpm: fix allocation of an existing object