bug fixed: init member fields in function, not in class