fix migrate script for channels.xml