fixed setting source and destination