bugfix in save_single_channel