fixed the bug about filling the missing value