api: fix consts block