fixing XXS error