don't flatten hp category, and move delete to end. fixes #186