fix bug in sources moving