fix handling of '*' operator