undo last commit, faulty helper