fixing == to === to compare to boolean