don't do the previous commits changes when in the admin panel