Lps 48189

the fix idea from https://in.liferay.com/web/global.engineering/forums/-/message_boards/view_message/2596089