init widget properties