fix docopt bad syntax
fix retention task (#61)