restpos fixed