fixed True vs 1 flag disparity