fixed a mistake in removed function calls?