mirror api project with many fixes