Fixed 500 sync error