avalon compile fix