Why the method with byte, not work?