fix for mixed content