fix keep-atoms