model path creation fix