fix secu issue on open portal