fixed the bug in struct zeros