dealt with invalid source/binary format