fix 0 bug (replace by NA)