fixes random positions