fix the pin define