update a mistake: replace '=' with '=='