fix GUI bugs when create with blank fields