equals fixes