Resolve bug in returning to first pos

Now is working ok