init widget property