Fix mixed contents