correct bug for the final insert place