LK & JR refactor & fix bytecount backend