fixed missing conditional pkg type in bindings