fixing a mistake in one of boolean value