cleaner pin conversion & validitation