ucode: fix a few ucode binding issues