mapped boolean to bit to fix db issue