small fixes toward troy integration