refactor some codes
add ignore fiel