Fixed return id bug for inserting data with id