bug-fixes
equals-method bugfix