fixed registrationneeded flag for iframe.