Fixed undefined source and destination