fix(): fix for saving 0

a quite silly mistake. closes #5.