fix issue - replace == with equals()