fix bitwise operation condition test

test to mememberuing how the biswise operation works.
read method of preferences
read the preferences
ignore