fix cake adapter