fixed API change initiated by fix in library