fix binary/package promotion