remove dynamic references (for iOS usage)