refactoring + fix remove transition
improve tests
upgrade deps
update tests

prefix package broken on ff