speed up edit process in certain cases