minor fix for create pins