validate pos