ensure bitwise NOT over byte and short persist data type