fix to injected code for right click deconstruction