sometimes $trigger doesn't exist, but positionSource does