fixed bug in posi