another small api fix