Initializing last pin (BUG fixed)