fix the problem that ListItem is not registered

Fixes #972