Added a catch for source/dest not being set