fixed bug of null boxed input value registration