little fix: auto determine sig array size