solve the null id problem in newly created record