Fix a bug where @pins was used