minor bug fix and add positionOption