Corrected mistake in pins.controller