Fixed an issue that submitted data did not have id from server