Fixed problem with pins.