small change on  create elem