closure compilation enabled and fixed