Fixed pins.php

wrong names were gotten, fixed it