fixed Petrick.expandPOS()