Fix API relative path