Fixed bug in the target and source