fix output in pos command