api sync minor fix