fixed equals mistake