Fix API paths