fix boolean dependency