bugfix: rm task compatible with old options