somehow strcpy makes the lockset result imprecise :/