FIX: fix misprint in generator and rm