fix warnings in reference-api