correct reglog, add checkout and reset