fix compatible types