fixed creating of position documents