lib: fix property initialization