fix position creation