bug in not gate