fix dedi compile