fixed two row deleting when changing stage on front end