Fixed bug with pin based ops