fix specs for new internal api