fixed sphinx function references