handle 'replace' transition
dont log to the console