squashed major position bug in pin-to-null function