fix api url
close comments so compressed version is valid