Adjusting phase of purge process