[#1337] fix if statement... the  typos I am making is embarrassing