Fix minor typos and 0 codes

Fixing using 0 on some enums and some minor typos.