better array size check
bump