add ignore extension
clean code