Fixed some errors in tandem2pin