Int 0 gets overwritten with undefined - fixed this bug.