bug fixes in pos-action functions