work around odd API design choice