added missing assertion for ints