use 0 instead of FALSE and fix typo