Bugfix, after addig record direcly edit