got the proper edit check working