preparation for bridgedInvoke