change source table to the correct one