fixed bug writing question marks to ptc devices