added missing assertion message