Fix it casting to integer when its a byte