idea: fix assertions