fix for erroneous equality operator in initialiser