hacks to accomodate shitty api deps