lib: support empty for
0.1.2