add log
clean swp