fix hybrid build