change homegrown into to string; test one-byte check