Bug fixed on insert preview mode