using sp_get and replacing strlen with sizeof

everything works well in the cli tool and the clear-similar-keys test passes. however assertion of `simple-get-set fails`, can you guys check it out.