fixed a bug of reading properties from wrapper

Signed-off-by: Gerald <gera2ld@163.com>