fixed mistake in method call