added missing equal sign in conditional