having problems setting characteristic values